<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <title>@yield('title')</title>
    <meta name="keywords" content=""/>
    <meta name="description" content=""/>
    <meta content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0, shrink-to-fit=no' name='viewport' />
    <link rel="stylesheet" href="//at.alicdn.com/t/c/font_4339836_njk57jop7mo.css">
    <link rel="stylesheet" href="/assets/admin/mview/css/mview.css?v={{ time() }}">
    <link rel="stylesheet" href="/assets/admin/wap/css/index.css?v={{ time() }}">
    <script src="https://file.wailian1.cn/admin/assets/js/core/jquery.3.2.1.min.js"></script>
    <script src="https://doyea.moreqifu.cn/assets/libs/jquery/jquery.min.js"></script>
    <link href="https://doyea.moreqifu.cn/assets/css/bootstrap.min.css?v=2023020316" rel="stylesheet" type="text/css"/>
</head>
<body>
    <div class="bab-cotainer">
        @include('admin.layouts.msg')
        @yield('content')
    </div>
    <div class="lcb-tabbar">
        <div id="tab1" aria-controls="panel1" class="lcb-tabbar__item" aria-selected="false">
            <i class="iconfont icon-home"></i>
            <p>备案首页</p>
        </div>
        <!-- <div id="tab2" aria-controls="panel2" class="lcb-tabbar__item" aria-selected="false">
            <i class="iconfont icon-weixinxiaochengxu"></i>
            <p>小程序列表</p>
        </div> -->
        <!-- <div id="tab3" aria-controls="panel3" class="lcb-tabbar__item" aria-selected="false">
            <i class="iconfont icon-weixingongzhonghao"></i>
            <p>公众号</p>
        </div> -->
        <div id="tab4" aria-controls="panel4" class="lcb-tabbar__item" aria-selected="false">
            <i class="iconfont icon-wode"></i>
            <p>个人中心</span>
        </div>
    </div>
    <div class="main-wap-qrcode">
        <img src="https://file.tiantianwailian.com/home/20240829/202408291533232275.png">
        <div class="info">
            <h3>微信手机版</h3>
            <p>请使用手机微信扫码访问手机版操作</p>
        </div>
    </div>
    <script src="/assets/admin/mview/js/mview.js?v={{ time() }}"></script>
    <script type="text/javascript">
        $(document).ready(function(){
            var currentPath = window.location.pathname;
            if (currentPath == "/app") {
                $("#tab1").addClass("active");
            } else if (currentPath == "/admin/users/users_center") {
                $("#tab4").addClass("active");
            }
            $('.lcb-tabbar__item').on('click', function () {
                var tabbar = $(this).attr('aria-controls');
                var menuList = {"panel1":"/app","panel2":"/admin/miniapps/miniapp_lists","panel3":"/admin/miniapps/official_list","panel4":"/admin/users/users_center"};
                window.location.replace(menuList[tabbar])
            });
        });

        function urlJump(link) {
            var screenWidth = $(window).width();
            if (screenWidth < 768) {
                window.open(link, "_blank");
            } else {
                window.location.href = link;
            }
        }
    </script>
</body>
</html>
